<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@taglib uri="/struts-tags"  prefix="s"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>数据管理 - 编辑数据</title>
  </head>
  
  <body>
   	<table  id="contain" width="90%" align="center">
   		<tr>
   			<td width="100%">
   				<form action="<%=basePath%>sys/data/dataUpdate.action?stockCode=${stockCode}" method="post">
	   				<table  id="stockList" border="1px solid #cccccc;height: auto !important; height: 500px; min-height: 500px;">
	   					<tr>
	   						<td colspan="2"  align="left">
	   							<font color="blue"><s:property value="#attr.stockDTO.stockName"/>
	   							(<s:property value="#attr.stockDTO.stockCode"/>)</font>&nbsp; - &nbsp; 基本信息
	   						</td>
	   					</tr>
	   					<tr>
	   						<td>股票名称</td>
	   						<td style="width:auto !important;width: 80%; min-width: 500px;">
	   						<s:property value="#attr.stockDTO.stockName"/> </td>
	   					</tr>
	   					<tr>
	   						<td>股票代码</td>
	   						<td><s:property value="#attr.stockDTO.stockCode"/> </td>
	   					</tr>
	   					<tr>
	   						<td>公司名称</td>
	   						<td>
	   							<input type="text" name="stockDTO.companyNameZh" value="${attr.stockDTO.companyNameZh }" size="100" maxlength="100"/>
	   						<!--  	<s:property value="#attr.stockDTO.companyNameZh"/> -->
	   						</td>
	   					</tr>
	   					<tr>
	   						<td>英文名称</td>
	   						<td>
	   							<input type="text" name="stockDTO.companyNameEn" value="${attr.stockDTO.companyNameEn }" size="100" maxlength="100"/>
	   							<!-- <s:property value="#attr.stockDTO.companyNameEn"/>-->
	   						 </td>
	   					</tr>
	   					<tr>
	   						<s:date name="#attr.stockDTO.listingDate" format="yyyy-MM-dd" id="date"/>
	   						<td>上市日期</td>
	   						<td>
		   						<input type="text" name="stockDTO.listingDate" value="${attr.date }"/>
		   						<!--<s:property value="#attr.date"/> -->
	   						</td>
	   					</tr>
	   					<tr>
	   						<td>行业类别</td>
	   						<td>
	   							<input type="text" name="stockDTO.stockBoard" value="${stockDTO.stockBoard }"/>
	   							<!--<s:property value="#attr.stockDTO.stockBoard"/> -->
	   						</td>
	   					</tr>
	   					<tr>
	   						<td>证券类别</td>
	   						<td>
	   							<input type="text" name="stockDTO.stockType" value="${stockDTO.stockType }"/>
	   							<!-- <s:property value="#attr.stockDTO.stockType"/> -->
	   						</td>
	   					</tr>
	   					<tr>
	   						<td>经营范围</td>
	   						<td>
	   							<textarea rows="5" cols="30" name="stockDTO.manageArea"
	   							style="margin-left: 2px; margin-right: 2px; width: 632px; margin-top: 2px; margin-bottom: 2px; height: 100px; ">
	   								${attr.stockDTO.manageArea }
	   							</textarea>
		   					<!--	<s:property value="#attr.stockDTO.manageArea"/> -->
	   						</td>
	   					</tr>
	   					<tr>
	   						<td>主营业务</td>
	   						<td>
	   							<textarea rows="5" cols="30" name="stockDTO.mainOperation" 
	   							style="margin-left: 2px; margin-right: 2px; width: 632px; margin-top: 2px; margin-bottom: 2px; height: 100px; ">
	   								${attr.stockDTO.mainOperation }
	   							</textarea>
	   							<!--<s:property value="#attr.stockDTO.mainOperation"/> -->
	   						</td>
	   					</tr>
	   					<tr>
	   						<td align="center" colspan="2">
		   						<input type="submit" name="更新" value="更新"> 
	   							 <script type="text/javascript">
									function callBuck(){
										window.history.back();
									}
								</script>
	   							<input type="button" value="返回" onclick="callBuck();"/>
	   						</td>
   						</tr>
	   				</table>
	   			</form> 
   			</td>
   		</tr>
   		<tr>
   			<td>
   			</td>
   		</tr>
   	
   	</table>
   
  </body>
</html>
